package com.dongdongshop.service;

import com.dongdongshop.vo.AddressVO;
import com.dongdongshop.vo.AreasVO;
import com.dongdongshop.vo.CitiesVO;
import com.dongdongshop.vo.ProvincesVO;

import java.util.List;

public interface AddressService {
    List<AddressVO> getAddressByUserId(String userId);

    AddressVO getAddressById(Long addressId);

    List<ProvincesVO> getAllProvince();

    List<CitiesVO> getAllCity(String provinceId);

    List<AreasVO> getAllArea(String cityId);

    void addAddress(AddressVO addressVO);
}
